package cminus;


/**
 * 新建文件的相关信息
 * @author yangzg
 *
 */
public class AddInfo {
	private String info;	//字符串，在新增界面的text前显示。
	private EditorFrame editorFrame;	//受新增影响的frame
	private AddHandler handler;	//新增完后的处理类
	public AddInfo(String info,EditorFrame editorFrame,AddHandler handler)
	{
		this.info = info;
		this.editorFrame = editorFrame;
		this.handler = handler;
	}
	
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public EditorFrame getEditorFrame() {
		return editorFrame;
	}
	public void setEditorFrame(EditorFrame editorFrame) {
		this.editorFrame = editorFrame;
	}
	public AddHandler getHandler() {
		return handler;
	}
	public void setHandler(AddHandler handler) {
		this.handler = handler;
	}
	
}
